package com.truyen.utils;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public final class RegexUtils {

	public static boolean validateEmail(String hex, String modelPattern) {
		Pattern pattern = Pattern.compile(modelPattern);
		Matcher matcher = pattern.matcher(hex);
		return matcher.matches();
	}
}
